package com.jindy.module.oaLeaveApproval.mapper;

import java.util.List;
import com.jindy.module.oaLeaveApproval.domain.SyOaLeaveApproval;

/**
 * 请假审批Mapper接口
 * 
 * @author jindy
 * @date 2023-05-16
 */
public interface SyOaLeaveApprovalMapper 
{
    /**
     * 查询请假审批
     * 
     * @param id 请假审批主键
     * @return 请假审批
     */
    public SyOaLeaveApproval selectSyOaLeaveApprovalById(Long id);

    /**
     * 查询请假审批列表
     * 
     * @param syOaLeaveApproval 请假审批
     * @return 请假审批集合
     */
    public List<SyOaLeaveApproval> selectSyOaLeaveApprovalList(SyOaLeaveApproval syOaLeaveApproval);

    /**
     * 新增请假审批
     * 
     * @param syOaLeaveApproval 请假审批
     * @return 结果
     */
    public int insertSyOaLeaveApproval(SyOaLeaveApproval syOaLeaveApproval);

    /**
     * 修改请假审批
     * 
     * @param syOaLeaveApproval 请假审批
     * @return 结果
     */
    public int updateSyOaLeaveApproval(SyOaLeaveApproval syOaLeaveApproval);

    /**
     * 删除请假审批
     * 
     * @param id 请假审批主键
     * @return 结果
     */
    public int deleteSyOaLeaveApprovalById(Long id);

    /**
     * 批量删除请假审批
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSyOaLeaveApprovalByIds(Long[] ids);
}
